package com.iot.core.data.entity;

import com.iot.core.data.BaseEntity;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;


@Data
@Schema(name = "异常表",description = "")
@Table(value ="hterror")
public class HtError extends BaseEntity {


    @Schema(name = "请求Host",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  host ="";

    @Schema(name = "请求Host",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  url ="";

    @Schema(name = "操作",description = "")
    @Size(min =0,max = 200,message = "长度范围0-200")
    private  String  memo ="";

    @Schema(name = "关联ID",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  glid ="";

    @Schema(name = "参数",description = "")
    private  String  pin ="";

    @Schema(name = "错误类名",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  exClsname ="";

    @Schema(name = "错误信息",description = "")
    @Size(min =0,max = 200,message = "长度范围0-200")
    private  String  exMsg ="";

    @Schema(name = "错误详细信息",description = "")
    private  String  exFullmsg ="";

    @Schema(name = "平台编号",description = "")
    private  Long  htplatId =0L;

    @Schema(name = "IP",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  ip ="";

    @Schema(name = "浏览器",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  browser ="";

    @Schema(name = "App版本",description = "")
    @Size(min =0,max = 20,message = "长度范围0-20")
    private  String  appver ="";

    @Schema(name = "姓名",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  name ="";

    @Schema(name = "机构编码",description = "")
    private  Long  htdeptId =0L;

    @Schema(name = "登录编号",description = "")
    private  Long  htuserloginId =0L;

    @Schema(name = "机构名称",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  htdeptName ="";

    @Schema(name = "创建日期",description = "")
    private  Date  crtDt ;

    @Schema(name = "用户编号",description = "")
    private  Long  crtUid =0L;

    @Schema(name = "机构编号",description = "")
    private  Long  crtDid =0L;



}
